package com.reisen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * song服务启动类（Nacos客户端）
 * @author Reisen
 */
@SpringBootApplication(scanBasePackages = "com.reisen") // 扫描原项目包路径
@EnableDiscoveryClient // 启用Nacos服务发现
public class SongServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(SongServiceApplication.class, args);
    }
}